<template>
  <div>
    输入<input type="text" v-zs />
    <br />
    <h2 v-qs="ss">我是要桑的同桌</h2>
  </div>
</template>
<script>
export default {
  name: '',
  directives: {
    'qs': {
      inserted (el, ss) {
        console.log(el, ss, 22222);
        console.log(ss.value);
        el.innerHTML = ss.value

      }
    }
  },
  data () {
    return {
      ss: '要桑是个大笨蛋'
    }
  },
  created () {
  },
  computed: {
  },
  methods: {
  }
}
</script>
<style lang='less'  scoped>
</style>
